package com.py.pythink.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@TableName("t_smslog")
@NoArgsConstructor
public class SmsLog {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String phone;
    private Integer type;
    private String info;
    private Date ctime;

    public SmsLog(String phone, Integer type, String info, Date ctime) {
        this.phone = phone;
        this.type = type;
        this.info = info;
        this.ctime = ctime;
    }
}
